package objectAdapter;

/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: Voltage220V
 * @author: xiayuanxing
 * @description: 被适配的类
 * @date: 2021/12/20 15:25
 * @version: 1.0
 */
public class Voltage220V {

    public int output220V(){
        int src = 220;
        System.out.println("电压 = "+src+"伏");
        return src;
    }
}
